<%@ page language="java" pageEncoding="gb2312"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title></title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<body>


	<c:set var="test" scope="session">
		<table border="5">
			We are going to use the attribute escapeXml of c:out to show the
			difference
			<tr>
				<td bgcolor="green">roseindia.net</td>

				<td bgcolor="red">roseindia.net</td>
			</tr>

			<tr>
				<td bgcolor="gray">roseindia.net</td>

				<td bgcolor="yellow">roseindia.net</td>
			</tr>
		</table>
	</c:set>

	<h1>out with escapeXml=true</h1>
	<c:out value="${test}" escapeXml="true" />
	<br>

	<h3>out with escapeXml=false</h3>
	<c:out value="${test}" escapeXml="false" />

	<h1>\${fn:escapeXml(test)}</h1>
	${fn:escapeXml(test)}



</body>
</html>
